package springboot.springboot06_ssmp.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import springboot.springboot06_ssmp.entity.Book;

/**
 * @author daiqiang
 * @date 2022/1/14-20:08
 */

public interface IBookService extends IService<Book> {

    //boolean saveBook(Book book);

    boolean modify(Book book);

    //boolean delete(Integer id);

    IPage<Book> getPage(int currentPage, int pageSize );

    IPage<Book> getPage(int currentPage, int pageSize, Book book);





}
